package com.chen.demo.simple.command;

import com.chen.winnerframework.cqrs.command.Command;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class BookDeleteCommand implements Command {
    @NotNull(message = "图书id不能为空")
    private Integer id;
}
